package com.qf.shopping.pojo.car;

/**
 * 访客访问页面记录表
 */
public class VisitLog {

  //主键id
  private Long id;

  //访客id
  private Long visitorId;

  //会员id
  private Long memberId;

  //页面访问路径
  private String visitUrl;

  //访问IP
  private String visitIp;

  //访问设备
  private String visitDevice;

  //访问渠道
  private String visitSource;

  //进入时间
  private Long enterTime;

  //离开时间
  private Long exitTime;

  //停留时间(秒)
  private Long stay;

  public VisitLog() {
  }

  public VisitLog(Long id, Long visitorId, Long memberId, String visitUrl, String visitIp, String visitDevice, String visitSource, Long enterTime, Long exitTime, Long stay) {
    this.id = id;
    this.visitorId = visitorId;
    this.memberId = memberId;
    this.visitUrl = visitUrl;
    this.visitIp = visitIp;
    this.visitDevice = visitDevice;
    this.visitSource = visitSource;
    this.enterTime = enterTime;
    this.exitTime = exitTime;
    this.stay = stay;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getVisitorId() {
    return visitorId;
  }

  public void setVisitorId(Long visitorId) {
    this.visitorId = visitorId;
  }

  public Long getMemberId() {
    return memberId;
  }

  public void setMemberId(Long memberId) {
    this.memberId = memberId;
  }

  public String getVisitUrl() {
    return visitUrl;
  }

  public void setVisitUrl(String visitUrl) {
    this.visitUrl = visitUrl;
  }

  public String getVisitIp() {
    return visitIp;
  }

  public void setVisitIp(String visitIp) {
    this.visitIp = visitIp;
  }

  public String getVisitDevice() {
    return visitDevice;
  }

  public void setVisitDevice(String visitDevice) {
    this.visitDevice = visitDevice;
  }

  public String getVisitSource() {
    return visitSource;
  }

  public void setVisitSource(String visitSource) {
    this.visitSource = visitSource;
  }

  public Long getEnterTime() {
    return enterTime;
  }

  public void setEnterTime(Long enterTime) {
    this.enterTime = enterTime;
  }

  public Long getExitTime() {
    return exitTime;
  }

  public void setExitTime(Long exitTime) {
    this.exitTime = exitTime;
  }

  public Long getStay() {
    return stay;
  }

  public void setStay(Long stay) {
    this.stay = stay;
  }

  @Override
  public String toString() {
    return "VisitLog{" +
            "id=" + id +
            ", visitorId=" + visitorId +
            ", memberId=" + memberId +
            ", visitUrl='" + visitUrl + '\'' +
            ", visitIp='" + visitIp + '\'' +
            ", visitDevice='" + visitDevice + '\'' +
            ", visitSource='" + visitSource + '\'' +
            ", enterTime=" + enterTime +
            ", exitTime=" + exitTime +
            ", stay=" + stay +
            '}';
  }
}
